/**
 * Created by SPG on 2016/7/6.
 */
$('#example-r').dataTable({
    serverSide: true,
    searching: false,
    "ajax": "data/arrays.txt",
    "paging": true,
     responsive: true,
    columns: [
        { data: 'name' },
        { data: 'position' },
        { data: 'salary' },
        { data: 'office' }
    ]
});